package cn.moefly.algorithm.sort;

import java.util.Arrays;

public class HereWeGo {
    public static void main(String[] args) {
        SortAlgoRithm ins = new MergeSort();

        int[] arr = {1,4,5,11,259,6,3,67,35,26,87,24,18,2};
        int[] desc = ins.sort(arr,SortAlgoRithm.DESC);
        int[] asc = ins.sort(arr,SortAlgoRithm.ASC);
        System.out.println(Arrays.toString(arr));
        System.out.println(Arrays.toString(asc));
        System.out.println(Arrays.toString(desc));
    }
}
